package com.gem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 刘聪
 * Created  on 2021/3/19
 */
@Data
@TableName(value = "sb_shipping")
public class UserAddress implements Serializable {
    private static final long serialVersionUID = 8769465088783883933L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer userId;
    private String receiverName;
    private String receiverMobile;
    private String receiverProvince;
    private String receiverCity;
    private String receiverDistrict;
    private String receiverAddress;
    /**
     * 是否是默认地址（0:是 1否）
     */
    private Integer isDefault;

}
